<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>

    #d1{
        width: 100px;
        height: 100px;
        border: 1px solid red;
        background-color: red;
        margin: 25px 25px;
        overflow:hidden;



    }
    #d1>div{
        width: 50px;
        height: 50px;
        margin:25px 0px 0px 25px;
        background-color: blue;


    }
    #d2{
        width: 50px;
        height: 50px;
        border: 4px solid green;
        margin-left: 125px;
        border-radius: 5px;
        padding: 50px 0px 0px 50px;


    }

  </style>
</head>
<body>
<div id="d1">
  <div ></div>
</div>
<div id="d2">哈喽</div>
</body>
</html>